import request from './utils/request'
export default {
  
  // addquestionTofolder(list,folderId){
  //   return request({
  //     url:`/eduservice/question_and_folder`,
  //     method:'post',
  //     data:{
  //       "list":list,
  //       "folderId":folderId
  //     }
  //   })
  // },
  // updatefolderAndQuestion(list){
  //   return request({
  //     url:`/eduservice/question_and_folder/list`,
  //     method:'put',
  //     data:list
  //   })
  // },
  // deletefolderAndQuestion(id) {
  //   return request({
  //     url:`/eduservice/question_and_folder/${id}`,
  //     method:'delete',

  //   })
 // },
  getCourseQuesitonListInfo(id) {
    return request({
      url: `/eduservice/edu_coursequestionlist_info/${id}`,
      method: 'get',
    })
  },
  /////////////////////
  addquestionTofolder(list,questiontaf){
      return request({
        url:`/eduservice/edu_question_and_taf`,
        method:'post',
        data:{
          "list":list,
          "questiontaf":questiontaf
        }
      })
    },
    updatefolderAndQuestion(list){
      return request({
        url:`/eduservice/edu_question_and_taf/list`,
        method:'put',
        data:list
      })
    },
    deletefolderAndQuestion(id) {
      return request({
        url:`/eduservice/edu_question_and_taf/${id}`,
        method:'delete',
  
      })
   },
}
